/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exceptions;

/**
 *
 * @author Danilo
 */
public class InvalidMoveException extends Exception{
    private String message;

    public InvalidMoveException( String message ){
        this.message = message;
    }

    @Override
    public String toString(){
        return message;
    }

}
